package com.example.hy2110szyx.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 航班座位信息实体
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Distribution {

    private Integer id;

    private String dno;

    private String fno;

    private String cno;

    private Integer seat;

    private Double price;

    public Distribution(Double price,String cno,String fno) {
        this.price = price;
        this.cno = cno;
        this.fno = fno;
    }

    public Distribution(String fno) {
        this.fno = fno;
    }
}
